//
//  FMDatabaseQueue+Helper.m
//  WeChatMonitor
//
//  Created by TerryChe on 2016/11/24.
//  Copyright © 2016年 TerryChe. All rights reserved.
//

#import "FMDatabaseQueue+Helper.h"

@implementation FMDatabaseQueue (Helper)

///**
// *  当前是否在事务中
// *
// *  @return 返回是否在事务中
// */
//-(BOOL)isInTransaction{
//    return [_db inTransaction];
//}
//
//- (void)inWrtite:(void (^)(FMDatabase *db, BOOL *rollback))block{
//    BOOL shouldRollback = NO;
//    block(_db,&shouldRollback);
//}
//
//- (void)inReader:(void (^)(FMDatabase *db))block{
//    block(_db);
//}

@end
